home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!netnews
- From: chuckh@ix.netcom.com (Chuck Hamilton)
- Newsgroups: comp.lang.c
- Subject: Re: printf - adding commas to numbers
- Date: Fri, 12 Jan 1996 17:47:59 GMT
- Organization: Mercy Health Plan
- Message-ID: <4d66rt$cc0@cloner3.netcom.com>
- References: <4d15eq$lc5@ixnews2.ix.netcom.com> <4d3b5l$fsm@news.infi.net>
- NNTP-Posting-Host: ix-phi4-27.ix.netcom.com
- X-NETCOM-Date: Fri Jan 12 9:47:41 AM PST 1996
- X-Newsreader: Forte Free Agent 1.0.82
-
- nngis@norfolk.infi.net (Greg DiGiorgio) wrote:
-
- >*** Therefore, should "printf" which is big enough as it is, be changed
- >*** to incorporate commas like BASIC's "Print Using" stmt? How about
- >*** if I want to show currency in european format? Should "printf" do
- >*** that as well? What if I want "12345" to print vertically, one number
- >*** per line? Should print be able to do that?
-
- You can't be serious! Comparing the need for numeric delimiters with
- vertical printing!?
-
- Adding delmiters to numbers is used everyday, everywhere, by every
- company. I don't know of any the routinely do vertical printing
- though. Look at all the other stuff that printf can do that almost
- never gets used. When was the last time you used an "*" in a print
- specifier to pass the length of the output as a variable?
-
- Delmiters are used pretty much any time you print numbers larger than
- 3 digits in business.
- --
- Chuck Hamilton
- chuckh@ix.netcom.com
-
- Never share a foxhole with anyone braver than yourself!
-
-